package com.supply.mapper;

import com.supply.pojo.CompanyGoods;
import com.supply.pojo.CompanyGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CompanyGoodsMapper {
    long countByExample(CompanyGoodsExample example);

    int deleteByExample(CompanyGoodsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CompanyGoods record);

    int insertSelective(CompanyGoods record);

    List<CompanyGoods> selectByExample(CompanyGoodsExample example);

    CompanyGoods selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CompanyGoods record, @Param("example") CompanyGoodsExample example);

    int updateByExample(@Param("record") CompanyGoods record, @Param("example") CompanyGoodsExample example);

    int updateByPrimaryKeySelective(CompanyGoods record);

    int updateByPrimaryKey(CompanyGoods record);
}